# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-pokemini
pkgver=0_git20200207
pkgrel=0
_commit="d2ea2ef52f97ea6f7bfff57b5367d95083474414"
pkgdesc="obscure nintendo handheld emulator"
url="https://github.com/libretro/PokeMini"
arch="all"
license="GPL-3.0-or-later"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/PokeMini/archive/$_commit.tar.gz"
builddir="$srcdir/PokeMini-$_commit"
options="!check" # No tests

build() {
	make -f Makefile.libretro
}

package() {
	install -Dm644 pokemini_libretro.so "$pkgdir"/usr/lib/libretro/pokemini_libretro.so
}

sha512sums="0027e7bfa2404b1c43993f2c278df5b49c74f8c06dc2adfd045322936d7f83a3e0fb3c3cf263055639ee0fcdd7b2db5e142edf59ca07262d5f4440d604980376  libretro-pokemini-d2ea2ef52f97ea6f7bfff57b5367d95083474414.tar.gz"
